<form method="post" action="" class="pageForm required-validate">
	<div class="pageContent">
		<div class="pageFormContent">
			<fieldset>
				<dl>
					<dt><@label key='workCenter.C,colon'>工作中心：</@label></dt>
					<dd>
						<input name="workCenterCode" value="${productionOrderPlan.workCenterCode!''}" type="hidden" /> <input name="workCenterText" type="text"  value="${productionOrderPlan.workCenterText!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='productionOrderNum.C,colon'>生产订单编号：</@label></dt>
					<dd>
						<input type="text" name="productionOrderNum" value="${productionOrderPlan.productionOrderNum!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='orderStatusECode.C,colon'>订单状态：</@label></dt>
					<dd>
					<input type="text" name="statuseCode" value="<#if productionOrderPlan.statuseCode??>${productionOrderTypeEcodeMap[productionOrderPlan.statuseCode].eCodeText}</#if>" readonly="readonly" />
					</dd>
				</dl>
				<!-- 
				<dl>
					<dt><@label key='orderType.C,colon'>订单类型：</@label></dt>
					<dd>
						<input type="text" name="orderTypeCode" value="${productionControl.orderTypeText!''}" readonly="readonly" />
					</dd>
				</dl>
				 -->
				<dl>
					<dt><@label key='materialCode.C,colon'>物料编号：</@label></dt>
					<dd>
						<input name="materialCode" value="" type="hidden" /> <input name="materialCode" type="text" postField="componentText" value="${productionOrderPlan.materialCode!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='materialText.C,colon'>物料名称：</@label></dt>
					<dd>
						<input name="materialText" type="text" value="${productionOrderPlan.materialText!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='plannedQuantity.C,colon'>计划数量</@label></dt>
					<dd>
						<input type="text" name="plannedQuantity" class=number " readonly="readonly" value="${productionOrderPlan.plannedQuantity!''}" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='plannedTime.C'>计划时长</@label>(<@label key='minute.C'>分钟</@label>)<@label key='colon'></@label></dt>
					<dd>
						<input type="text" name="plannedSeconds" class=number " readonly="readonly" value="${productionOrderPlan.plannedMinutesStr!''}" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='plannedDate.C,colon'>计划日期：</@label></dt>
					<dd>
						<input type="text" name="plannedStartDate" readonly="readonly" value="${(productionOrderPlan.plannedStartDate?string('yyyy-MM-dd'))?if_exists}" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='requirementDate.C,colon'>需求日期：</@label></dt>
					<dd>
						<input type="text" name="requirementDate" readonly="readonly" value="${(productionOrderPlan.requirementDate?string('yyyy-MM-dd'))?if_exists}" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='productionLot.C,colon'>生产批次号：</@label></dt>
					<dd>
						<input type="text" name="productionlotNum" value="${productionOrderPlan.productionLotNum!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='plannedstartDateTime.C,colon'>计划开始时间：</@label></dt>
					<dd>
						<input type="text" name="plannedstartDateTime" value="${(productionOrderPlan.plannedstartDateTime?string('yyyy-MM-dd HH:mm:ss'))?if_exists}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='plannedendDateTime.C,colon'>计划结束时间：</@label></dt>
					<dd>
						<input type="text" name="plannedendDateTime" value="${(productionOrderPlan.plannedendDateTime?string('yyyy-MM-dd HH:mm:ss'))?if_exists}" readonly="readonly" />
					</dd>
				</dl>
			</fieldset>
		</div>
		<#assign createInfo=productionOrderPlan/> <#include "/common/createInfo.html">
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="button" class="close">关闭</button>
						</div>
					</div>
				</li>
			</ul>
		</div>

	</div>
</form>
